function addList(){
    let inputText=document.querySelector("#in").value;
    let list=document.querySelector("#list")
        console.log("added")
        let newEle=document.createElement("li");
        newEle.innerText=inputText
        list.appendChild(newEle);
}